package com.cx.service.impl;

import com.cx.mapper.HotelPolicyMapper;
import com.cx.dto.HotelPolicy;
import com.cx.service.HotelPolicyMapperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HotelPolicyMapperServiceImpl implements HotelPolicyMapperService {
    @Autowired
    HotelPolicyMapper hotelPolicyMapper;
    @Override
    public List<HotelPolicy> selectPolicyByHotelName(String hotelName) {
        return hotelPolicyMapper.selectPolicyByHotelName(hotelName);
    }
}
